package com.central.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.central.common.enums.ResourceType;
import lombok.Data;

import java.util.List;

/**
 * @author Tindy
 * @date 2021/11/29
 * @describe
 */
@Data
@TableName(value = "resource_info",autoResultMap = true)
public class ResourceInfo extends SuperEntity {
    private Long parentId;
    private String name;
    private ResourceType resourceType;
    private String description;
    private Long proId;
    private String creator;
    private String fileUrl;
    private Long urlQuoteId;
    @TableField(exist = false)
    private List<ResourceInfo> childs;
}
